package test;

import java.io.File;
import java.io.IOException;
import org.apache.commons.io.FileUtils;
import org.json.JSONException;
import org.json.JSONObject;
import org.junit.Test;

/**
 * Created by lcx on 2017/5/29.
 */
public class Json {

    @Test
    public void testJson() throws IOException, JSONException {
        /*File file = new File("ss.json");
        String content = FileUtils.readFileToString(file);
        JSONObject jsonObject = new JSONObject(content);
        System.err.println("姓名是"+jsonObject.getString("name"));*/
    }
}
